WPDesk\FS\TableRate\Rule\Cost\AbstractAdditionalCost S

Total Complexity 16
Dependencies 7
Dependents 0
Total lines 154
Lines of code 59
Logical lines of code 25
Comment lines 68
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
calculate_cost()
S
51 4 26
get_per_value()
S
74 2 4
get_additional_cost()
S
74 2 4
get_settings_value()
S
78 2 3
get_based_on()
S
82 1 3
get_name()
S
82 1 3
calculate_cost_with_method_settings()
S
75 1 4
set_rule()
S
77 1 4
get_value_from_shipment_contents()
S
100 1 0
jsonSerialize()
S
67 1 8